/*
 * @Author: [you name]
 * @Date: 2021-11-03 14:51:33
 * @LastEditors: [you name]
 * @LastEditTime: 2021-11-04 11:27:12
 * @Description: 
 */
export default {
    namespaced:true,
    state() {
        return {
            resData: []
        }
    },
    mutations: {
        SET_RESDATA(state, payload) {
            state.resData = payload
        }
    },
    actions: {
       async  pageQueryOrders({ commit }, params ) {
        let res = request.get("/order/pageQuery", { params })
          commit('SET_RESDATA', res.data)
      }, 
    }
}